package com.xframe.domain.views.ui;

import lombok.Data;

import java.util.List;

/**
 * @Description: 表单UI 整体布局对象
 * @ClassName: com.xframe.domain.views.ui.DynamicBill
 * @Author: xufeng
 * @CreateTime: 2023/12/05 9:15
 **/
@Data
public class DynamicBill {

    public static final String NAME_SIGE_TITLE = "form.title";

    public static final String NAME_SIGE = "form.";

    public static final String NAME_SIGE_LABEL = ".label";

    public static final String NAME_SIGE_HOLDER = ".holder";

    public static final String SELECT = "select";


    public static final String RULE_SIGE_RULE = ".rules.isRequired";
    /**
     * 元素列表
     */
    private List<FormUIModel> elements;
    /**
     * tabs
     */
    private List<TabUI> tabs;
    /**
     * groups
     */
    private List<GroupUI> groups;
    /**
     * 标题
     */
    private String title;
    /**
     * 表单的code
     */
    private String modelCode;

    /**
     * 表单的MaxColumn
     */
    private Integer column = 3;

    /**
     * 是否显示保存按钮
     */
    private Boolean saveButtonFlag = true;
    /**
     * 表单的style
     */
    private String style = "border";

    /**
     * 当前文件的版本号
     */
    private String ver = "v1";

    /**
     * 当前文件的类型
     */
    private String configType = "add";
}
